<extend name="Public/base" />
<block name="body">
      <div class="main-title" style="padding-bottom: 10px;">
        <h2><b style="color: red;">{$_data.cityname}-{$_data.aid|get_lbs_application_name}-{$_data.name}</b>:项目图层设置</h2>
    </div>
    <div class="cf">
        <div class="fl">
            <a class="btn btn-default" href="{:U('add')}&id={$_data.id}">创建图层</a> 
            <button class="btn btn-default" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div> 
    </div>
     <div class="data-table table-striped">
	<table>
            <thead>
                <tr>
                    <th class="row-selected row-selected"><input class="check-all" type="checkbox"/></th>
                    <th>ID</th>
                    <th>图层名称</th>
                    <th>创建日期</th>
                    <th>备注</th>
                    <th>状态</th>
                    <th>操作</th>
                </tr>
            </thead>
            <tbody>
                <notempty name="_list">
                    <volist name="_list" id="vo">
                        <tr>
                            <td><input class="ids" type="checkbox" name="id[]" value="{$vo.id}"/></td> 
                            <td>{$vo.id}</td>
                            <td>{$vo.name}<eq name='vo.activate' value='1'><span style="color: red;">【当前方案正在使用】</span></eq></td>
                            <td>{$vo.createAt|time_format}</td>
                             <td>{$vo.remark}</td>
                            <td>{$vo.status_text}</td>
                            <td> 
                                <a href="{:U('LbsProjectAreaMould/changeStatus?id='.$vo['id'])}&method=delete" class="confirm ajax-get btn btn-warning">删除</a>
                                <a href="{:U('LbsProjectArea/area')}&mid={$vo.id}&pid={$_data.id}&aid={$_data.aid}" class='btn btn-primary'>绘制图层</a>
                                <a href="{:U('LbsProjectAreaMould/activate')}&mid={$vo.id}&pid={$_data.id}&aid={$_data.aid}" class="confirm ajax-get  btn btn-danger">设定激活</a>
                                   <a href="{:U('LbsProjectAreaMould/copy')}&mid={$vo.id}&pid={$_data.id}&aid={$_data.aid}" class='btn btn-default'>复制图层</a>
                            </td> 
                        </tr>
                    </volist>
                <else/>
                    <td colspan="9" class="text-center"> aOh! 暂时还没有内容! </td>
                </notempty>
            </tbody>
        </table>
    </div>
    <div class="page">
        {$_page}
    </div>
</block>

<block name="script">
    <script src="__STATIC__/thinkbox/jquery.thinkbox.js"></script>
     <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U('LbsProject/index')}');
    </script>
</block>